"use client"

import {useAuth} from "@/context/auth-context";

export default function Home() {
    const {isAuthenticated} = useAuth();
    if (isAuthenticated === false) return null;
    return (
        <div
            className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
            <main className="flex flex-col gap-[32px] row-start-2 items-center sm:items-start">
                <div>
                    Hello
                </div>
            </main>
        </div>
    );
}
